package cn.mesmile.video;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zb
 * @version 1.0
 * @date 2020/10/24 12:04
 * @description 视频服务启动类
 */
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("cn.mesmile.video.dao")
@SpringBootApplication
public class VideoApplication {

    /**
     *  1.限流  2.熔断  3.降级  4.隔离
     */
    public static void main(String[] args) {
        SpringApplication.run(VideoApplication.class, args);
    }

}
